package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 * @author juran
 * @since 2022-07-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("bill_withdraw")
@ApiModel(value = "BillWithdraw对象", description = "提现明细表")
public class BillWithdraw implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("申请时间")
    private Long applicationTime;

    @ApiModelProperty("申请团长id")
    private String agentId;

    @ApiModelProperty("提现金额")
    private BigDecimal amount;

    @ApiModelProperty("提现方式/1-微信提现/2-支付宝提现/3-其他提现")
    private Integer type;

    @ApiModelProperty("提现流水号")
    private String no;

    @ApiModelProperty("提现状态/1-处理中/2-到账/-1已退回")
    private Integer status;

    @ApiModelProperty("操作时间")
    private long time;

}
